﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RoboTrocity.Code.ObjectStates {
	abstract class EntityState : ObjectState {
		protected Entity attachedEntity;

		public EntityState(Entity entity, Sprite newSprite)
			: base(newSprite) {
			attachedEntity = entity;
		}

		public override void Update(float elapsed) {
			attachedEntity.Position += attachedEntity.Velocity;
		}

		public abstract void Jump();
	    public abstract void MoveUp();
	    public abstract void MoveDown();
		public abstract void MoveLeft();
		public abstract void MoveRight();
	}
}
